package com.zhongfl.crm.enums.boss;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * 订单流程状态
 * Created by wangkun23 on 2018/4/16.
 */
@ToString
public enum OrderFlowStatus implements Serializable {
    STATUS_SUCCESS(1, "成功"),
    STATUS_FAIL(2, "失败"),
    STATUS_CANCEL(3, "取消"),
    OTHER(0, "其他");

    @Setter
    @Getter
    private Integer key;

    @Setter
    @Getter
    private String value;

    OrderFlowStatus(Integer key, String value) {
        this.key = key;
        this.value = value;
    }

}
